Pronamic\WordPress\Pay\Subscriptions\SubscriptionsModule B

Total Complexity 87
Dependencies 20
Dependents 1
Total lines 768
Lines of code 421
Logical lines of code 228
Comment lines 197
Methods 19
Properties 1

Methods 19

Method Rating Maintainability Complexity Lines of code
payment_status_update()
B
45 17 39
handle_subscription_mandate()
A
34 12 103
handle_subscription_renew()
A
40 12 59
maybe_handle_subscription_action()
A
51 11 25
maybe_cancel_subscription()
S
52 6 24
can_retry_payment()
S
57 5 16
get_subscription_status_update_note()
S
59 5 15
rest_api_subscription_phase()
S
53 3 27
rest_api_init()
S
50 1 36
complement_subscription_by_payment()
S
67 3 8
rest_api_subscription()
S
60 2 15
__construct()
S
54 1 19
exclude_subscription_comment_notes()
S
68 2 7
log_subscription_status_update()
S
67 2 8
handle_subscription_cancel()
S
73 1 5
maybe_schedule_subscription_events()
S
77 1 4
is_processing_disabled()
S
78 1 3
source_text_subscription_payment_method_change()
S
75 1 4
source_description_subscription_payment_method_change()
S
75 1 4